<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            width: 400px;
            height: 300px;
            border-radius: 50px;
            background:url(paopao.png) top left, url(paopao.png) right bottom;
            /* 背景颜色一定写到背景图片下面，不然会被层叠掉 */
            background-color: rgb(72, 34, 177);
            transition: background-position .5s;
        }
        div:hover {
            background-position: right bottom,top left;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>